﻿using Newtonsoft.Json.Linq;
using System.Collections.Generic;

namespace XiTi
{
    public class FullQuestion
    {
        public long question_id;
        public string question_type;
        public int question_channel_type;
        public string channel_type_name;
        public string title;
        public string question_text;
        public IDictionary<string, string> options;
        public JArray answer_json;

        /// <summary>
        /// 答案的图片地址
        /// </summary>
        public string answer;

        /// <summary>
        /// 答案html代码
        /// </summary>
        public string answer_text;

        public string answer_json_text;
        public string explanation;
        public string knowledge;
        public JArray t_knowledge;
        public JArray knowledge_path;
        public IDictionary<string, JObject> knowledge_info;
        public IDictionary<string, JObject> category;
        public JArray category_path;
        public long parent_id;
        public long paperid;
        public string paper_title;
        public string xd;
        public string chid;
        public string exam_type;
        public string exam_name;
        public string difficult_index;
        public string difficult_name;
        public int is_objective;
        public bool is_collect;
        public string save_num;
        public bool new_flag;
        public int is_use;
        public string paper_source;
        public string link_paper;
        //public string myanswer;
        public long create_at;
        public JArray exit_paper;
        public string explain_sort_need;
        public JArray sub_explanation;
        public int status;
        public bool access;
        public List<FullQuestion> list;
        
        /// <summary>
        /// 子问题序号，由0开始
        /// </summary>
        public int _n;
    }
}
